﻿using System.Collections.Generic;
using DataScripter.Database;

namespace DataScripter.Interfaces
{
    interface ITableInfoProvider
    {
        IEnumerable<FieldInfo> GetFields();
        List<FieldInfo> GetPrimaryKeyFields();
        List<ForeignKeyInfo> GetForeignKeys();
        List<ForeignKeyInfo> GetForeignKeysPointingToThisTable();
        FieldInfo GetField(string lookupColumn);
    }
}
